package com.hw.one.dam2.dao;

import com.hw.one.dam2.param.AirParam;
import com.hw.one.dam2.po.MonitorBaseDataPo;
import com.hw.one.dam2.po.RegionAirQualityPO;
import com.hw.one.dam2.po.SiteAirQualityPO;

import java.util.List;
import java.util.Map;

/**
 * Copyright 2017 汉威.智慧环保事业部
 * Created by 毛超然 on 2017/6/9 0009.
 */

public interface IAirDao {
    /**
     * 根据区域编码、时间和表名获取空气质量的数据
     *
     * @param airParam
     * @return
     */
    @SuppressWarnings("rawtypes")
    List<RegionAirQualityPO> findAirDataByRegionCodesAndTime(AirParam airParam);

    /**
     * 根据区域编码、时间和表名获取空气质量的数据
     *
     * @param airParam
     * @return
     */
    @SuppressWarnings("rawtypes")
    List<SiteAirQualityPO> findAirDataBySiteCodesAndTime(AirParam airParam);

    /**
     * 根据时间和表名获取5分钟空气质量的原始数据
     *
     * @param airParam
     * @return
     */
    @SuppressWarnings("rawtypes")
    List<MonitorBaseDataPo> findAirDataByTime(AirParam airParam);
}
